package com.xiaotao.mapper;

import com.xiaotao.entity.UserSign;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserSignMapper {
    Integer add(UserSign userSign);
    UserSign queryByIdAndDate(@Param("userId") Integer userId, Date date);
    List<UserSign> queryAll(@Param("userId") Integer userId);
}
